<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>表格基本结构和常用属性</title>
</head>
<body>
    <table border="1" width="500px"  cellpadding="left"  height = "400px" cellspacing ="0">
        <caption>表格标题</caption>
        <thead>
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
        </thead>
        <tbody>
            <tr>
                <td>张三</td>
                <td>18</td>
                <td>男</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>19</td>
                <td>女</td>
            </tr>
            <tr>
                <td>王五</td>
                <td>20</td>
                <td>男</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>共计:2人</td>
            </tr>
    </table>

</body>
</html>